package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName daiweibai_file
 */
@TableName(value ="minio_file")
@Data
public class MinioFile extends BaseEntity implements Serializable {
    /**
     * 文件id
     */
    @TableId(value = "id")
    private String id;

    /**
     * 文件唯一md5
     */
    @TableField(value = "file_info_id")
    private String fileInfoId;

    /**
     * 文件名称
     */
    @TableField(value = "file_name")
    private String fileName;

    /**
     * 文件原名称
     */
    @TableField(exist = false)
    private String originalFilename;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
